package com.grape.demo20220803.service;

import java.io.IOException;
import java.io.InputStream;

/**
 * @Author pan_jin
 * @Description: $ 存储文件接口服务
 * @Date: 2022/8/8 10:05
 * @Version: 1.0.0
 * @Slogan: 梦想还是要有的万一实现了呢
 */
public interface StorageService {

    InputStream openInputStream(String url) throws IOException;

    String store(String extName, InputStream input) throws IOException;
}
